FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
COPY ${JAR_FILE} app.jar
#ENTRYPOINT ["java", "-Xms128m", "-Xmx512m", "-jar", "/app.jar", "--spring.config.location=/opt/bootstrap.yml", "-c"]
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app.jar --spring.config.location=/opt/bootstrap.yml


